package com.coach.dao;

import java.util.List;
import java.util.Map;

import com.coach.entity.ClassDTO;
import com.coach.entity.Class;

@MyBatisRepository
public interface ClassDAO {
    
	public List<Class> getClassList(Map<String,Object> map) throws Exception;
	
	public void addClass(Class c) throws Exception;
	
	public void updateClass(Class c) throws Exception;
	
	public Class getClassById(int id) throws Exception;
	
	public void deleteClass(Class c) throws Exception;
	
	public List<ClassDTO> getClassListPage(Map<String,Object> map) throws Exception;
	
}
